// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "BaseCharacter.generated.h"

UCLASS()
class GAMETESTG_API ABaseCharacter : public ACharacter
{
	GENERATED_BODY()

public:
	// Sets default values for this character's properties
	ABaseCharacter();

protected:
	// Called when the game starts or when spawned
	virtual void BeginPlay() override;

public:	
	// Called every frame
	virtual void Tick(float DeltaTime) override;

	// Called to bind functionality to input
	virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;

#if 1 /*BaseCharacterFunction*/
public:
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = Function)
	class USpringArmComponent* SpringArmComb;
	UPROPERTY(VisibleAnywhere,BlueprintReadWrite,Category = Function)
	class UCameraComponent* CameraComb;
	float BaseTurnRate;
	float BaseLookupRate;
	UPROPERTY(EditAnywhere,BlueprintReadWrite)
	float RunSpeed;
	UPROPERTY(EditAnywhere,BlueprintReadWrite)
	float WalkSpeed;

	void MoveForward(float value);
	void MoveRight(float value);
	void TurnAtRate(float value);
	void LookAtRate(float value);


#endif

};
